import { HttpRequest } from "./HttpRequest";
import { HttpResponseType } from "./HttpResponseType";

export class WebClient extends HttpRequest
{
    public static ClassName:string = "WebClient";
    public clientName:string;
    public constructor()
    {
        super();
        this.responseType = HttpResponseType.TEXT;
        //设置响应头
        
    }
    public open(url:string, method:string = "POST"):void
    {
        super.open(url,method);
    }
}